<form method="post" id="editForm" name="editForm">
<input type="hidden" name="id" value="${(po.id)!}" id="poid">
<table class="tableForm tableCss">
    <tr>
        <th>回复类型：</th>
        <td>
            <input class="easyui-combobox"   id="reply_type" name="reply_type" value="${(po.reply_type!)!}" data-options="url:'admin/WXReply/sys_pa_code?table=wx_aut_reply&field=reply_type',method:'get',valueField:'id',textField:'name',panelHeight:'auto',onSelect:reply_change">
        </td>
    </tr>
    <tr>
        <th>消息类型：</th>
        <td>
            <input class="easyui-combobox" id="msg_type" name="msg_type" value="${(po.msg_type!)!}" data-options="url:'admin/WXReply/sys_pa_code?table=wx_aut_reply&field=msg_type',method:'get',valueField:'id',textField:'name',panelHeight:'auto'">
        </td>
    </tr>
    <tr id="keyword_id">
         <th>关键字</th>
         <td><input type="text" class="input" size="80" id="key_word" name="key_word" value="${(po.key_word!)!}" />
             <font color="red">*</font>（多个关键字用“,”隔开；例：考证,保育员）
         </td>
     </tr>
    
    <tr id="show_content" style="display: table-row;">
                        <th>内容</th>
                        <td><textarea rows="6" cols="60" id="content" name="content">${(po.content!)!}</textarea>
                            <font color="red">*</font>
                        </td>
                    </tr>
    <tr>
        <th>状态：</th>
         <td>
            <input class="easyui-combobox" type="text" name="status" value="${(po.status!)!}" data-options="url:'admin/WXReply/sys_pa_code?table=wx_aut_reply&field=status',method:'get',valueField:'id',textField:'name',panelHeight:'auto'">
        </td>
    </tr>
</table>
</form>
<script>
function reply_change(){
    var reply_type = $("#reply_type").combobox("getValue"); 
    if(reply_type==701){
        $("#keyword_id").hide();
    }else{
        $("#keyword_id").show();

    }
}
 $(function(){
            //reply_change();
});


</script>